<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>Light2</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="css/styles.css">
			<script language=JavaScript  src="js/checkinfo.js"> 
	</script>
	
  </head>
  
  <body>
	<!-- header -->
	<div id="header">
		<div id="logo"><img src="images/logo_small2.png"/></div>
	</div>
	<!-- // header -->
	<!-- nav -->
	<div id="nav">
	</div>
	<!-- // nav -->
	<!-- container -->
	<div id="container">
		<!-- contents -->
		<div id="contents">
	    	<div id="menu">
	        	<div id="user_info">
	            	<img src="develop/user_icon.jpg"/>
	            </div>
	        	<ul>
	            	<li><a href="home.jsp"><img src="images/news.png" /> 最新資訊</a></li>
					<li><a href="subscribe.jsp"><img src="images/surscribe.png" /> 預約</a></li>
					<li>
						<a href="user_infoModifyInput?id=<s:property value="user.id"/>"><img src="images/account.png" /> 帳戶管理</a>
						<ul>
						<li><a href="user_passwordModifyInput?id=<s:property value="user.id"/>">改變密碼</a></li>
						<li><a href="user_infoModifyInput?id=<s:property value="user.id"/>">改變訊息</a></li>
						</ul>
					</li>               
	            </ul>
	        </div>
	        <div id="main-cont">
	        	<div id="regist_form">
	                <form action="user_infoModify" name="changeinfo" method="post" >
	                	<input type="hidden" name="user.id" value="<s:property value="user.id"/>"/>
	                    <h2>Change info</h2>
	                    <table>
	                    	<tr><td>Name: </td><td><input name="user.name" value="<s:property value="user.name"/>" type="text"/></td></tr>	
	                    	<tr><td>ID card: </td><td><input name="user.idcard" value="<s:property value="user.idcard"/>" type="text"/></td></tr>	                        
	                        <tr><td>Sex: </td><td><input name="user.sex" value="<s:property value="user.sex"/>" type="text"/></td></tr>
	                        <tr><td>Age: </td><td><input name="user.age" value="<s:property value="user.age"/>" type="text"/></td></tr>
	                        <tr><td>Phone: </td><td><input name="user.phone" value="<s:property value="user.phone"/>" type="text"/></td></tr>
	                        <tr><td>Address: </td><td><input name="user.addr" value="<s:property value="user.addr"/>" type="text"/></td></tr>
	                        <tr><td/><td/></tr>
	                        <tr><td colspan="2" align="center"><input type="submit" value="OK! Change it!"/></td></tr>                     
	                    </table>
	                </form>
	       		</div>
	        </div>
	    </div>
	    <!-- // contents -->
	</div>
	<!-- // container -->
	<div id="footer">
		<div id="bs_stdio">
	    	©2011-2011 www.bluesky.com.mo All Rights Reserved<br/>
	    	<img src="images/bluesky_logo.png" />
	    </div>
	</div>
  </body>
</html>
